#!/bin/sh 

. %OPTWARE_TARGET_PREFIX%/etc/squeezecenterrm.conf

rm -rf %OPTWARE_TARGET_PREFIX%/etc/squeezecenterrm.conf 2>/dev/null
rm -rf ${SQUEEZECENTER_PREFSDIR} 2>/dev/null
rm -rf ${SQUEEZECENTER_LOG} 2>/dev/null 
rm -rf ${SQUEEZECENTER_PIDFILE} 2>/dev/null
grep -s "^${SQUEEZECENTER_USER}" /etc/passwd >/dev/null && deluser ${SQUEEZECENTER_USER} 2>/dev/null
rm -rf %OPTWARE_TARGET_PREFIX%/share/squeezecenter

exit 0
